package entity

type User struct {
	Id             int    `gorm:"id" json:"id"`
	Username       string `gorm:"username" json:"username"`
	Name           string `gorm:"name" json:"name"`
	Password       string `gorm:"password" json:"password"`
	Logic          int    `gorm:"-" json:"logic"`
	Administrators int    `gorm:"-" json:"administrators"`
}

func (User) TableName() string {
	return "user"
}
